package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.pojo.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Pageparam;

import java.util.List;

/**
 * <p>
 * 菜品及套餐分类 服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-11-28
 */
public interface ICategoryService extends IService<Category> {

    int add(Category ca);

    Page findAllCategory(Pageparam page);

    int delete(Long id);

    int updateCategory(Category ca);

    List<Category> select(Integer type);
}
